package com.wofish.goods.dto;


import com.wofish.goods.domain.Products;

import java.io.Serializable;
import java.util.List;

/**
 * Created by user on 16/10/22.
 */
public class SpecDescDto implements Serializable {
    private static final long serialVersionUID = 5453376781639029826L;

    private List<Products> productsList ;
    private List<ProductsIndex> productsIndexList;

    private int num;

    private String specNames;


//    {"specNames":"规格(2),灯具(1)","productsList":"[{\"specInfo\":\"规格:2英寸,灯具:白色\",\"bn\":\"342-0\",\"marketable\":true,\"store\":\"20\",\"price\":\"10\",\"cost\":\"0\",\"mktprice\":\"0\",\"weight\":\"0\",\"storePlace\":\"A34\",\"isDefault\":true},{\"specInfo\":\"规格:5英寸,灯具:白色\",\"bn\":\"342-1\",\"marketable\":true,\"store\":\"20\",\"price\":\"10\",\"cost\":\"0\",\"mktprice\":\"0\",\"weight\":\"0\",\"storePlace\":\"A34\",\"isDefault\":false}]","productsIndexList":"[{\"specInfo\":\"规格:2英寸,灯具:白色\",\"specJson\":[{\"specId\":\"17\",\"specValueId\":\"28\",\"imageId\":\"\",\"imageUrl\":\"\"},{\"specId\":\"20\",\"specValueId\":\"34\",\"imageId\":\"\",\"imageUrl\":\"\"}]},{\"specInfo\":\"规格:5英寸,灯具:白色\",\"specJson\":[{\"specId\":\"17\",\"specValueId\":\"29\",\"imageId\":\"\",\"imageUrl\":\"\"},{\"specId\":\"20\",\"specValueId\":\"34\",\"imageId\":\"\",\"imageUrl\":\"\"}]}]","num":2}

    public List<Products> getProductsList() {
        return productsList;
    }

    public void setProductsList(List<Products> productsList) {
        this.productsList = productsList;
    }

    public List<ProductsIndex> getProductsIndexList() {
        return productsIndexList;
    }

    public void setProductsIndexList(List<ProductsIndex> productsIndexList) {
        this.productsIndexList = productsIndexList;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public String getSpecNames() {
        return specNames;
    }

    public void setSpecNames(String specNames) {
        this.specNames = specNames;
    }
}
